package com.cmcc.aregister.cs.asntask;

import java.util.List;

import com.cmcc.aregister.cs.model.AdbarResultModel;
import com.cmcc.aregister.cs.model.AreaResultModel;
import com.cmcc.aregister.cs.model.CandelOrderResultModel;
import com.cmcc.aregister.cs.model.ClickAdResultModel;
import com.cmcc.aregister.cs.model.DepResultModel;
import com.cmcc.aregister.cs.model.DocInfoModel;
import com.cmcc.aregister.cs.model.DocResultModel;
import com.cmcc.aregister.cs.model.GeneraOrderResultModel;
import com.cmcc.aregister.cs.model.GetServicesResultModel;
import com.cmcc.aregister.cs.model.HospitalInfoModel;
import com.cmcc.aregister.cs.model.HospitalResultModel;
import com.cmcc.aregister.cs.model.OrderInfoModel;
import com.cmcc.aregister.cs.model.OrderListResultModel;
import com.cmcc.aregister.cs.model.OrderModel;
import com.cmcc.aregister.cs.model.ScheduleResultModel;


public class InterfaceUtils {
	/**
	 * 回调异地列表接口
	 * @author luodan
	 *
	 */
	public interface DataCallback_other {
		//城市
		public void updateData_CityList(AreaResultModel mAreaResultModel);
		public void next_updateData();
		//医院
		public void updateData_HospitalList(HospitalResultModel mHospitalResultModel);
		public void next_updateData_Hospital();
		//科室
		public void updateData_DepList(DepResultModel mDepModelResult);
		public void next_updateData_Dep();
		//医生
		public void updateData_DocList(DocResultModel mDocResultModel);
		public void next_updateData_Doc();
		//排班
		public void updateData_ScheduleList(ScheduleResultModel mScheduleResultModel);
		public void next_updateData_Schedule();
		//医院详情
		public void get_hospital_info(HospitalInfoModel hospitalInfoModel);
		public void callback_hospital_info(int p);
		//医生详情
		public void get_doc_info(DocInfoModel docInfoModel);
		public void callback_doc_info(int p);
	}
	/**
	 * 下单接口（异地）
	 * @author ld 20121207
	 *
	 */
	public interface DataCallback_other_order{
		public void make_order(GeneraOrderResultModel orderResultModel);
	}
	
	/**
	 * 查询订单列表（异地）
	 * @author ld 20121207
	 *
	 */
	public interface DataCallback_get_other_orders{
		public void get_other_orders(OrderListResultModel orderListResultModel);
		public void next_updateData_orders();
	}
	
	
	/**
	 * 查询和取消订单（异地）
	 * @author ld 20121207
	 *
	 */
	public interface DataCallback_cancel_other_order{
		/**
		 * 查询订单详情回调函数
		 * @param orderModel
		 */
		public void get_order_info(OrderInfoModel orderInfoModel);
		/**
		 * 取消订单回调函数
		 * @param candelOrderResultModel
		 */
		public void cancel_other_order(CandelOrderResultModel candelOrderResultModel);
	}
	/**
	 * 查询服务信息列表回调接口
	 * @author ld 20130301
	 *
	 */
	public interface DataCallback_get_services{
		/**
		 * 查询服务接口回调函数
		 * @param getServicesResultModel
		 */
		public void get_services(GetServicesResultModel getServicesResultModel);
	}
	/**
	 * 选中服务信息后的回调接口
	 * @author Administrator
	 *
	 */
	public interface OnCheckServiceListener{
		/**
		 * 被选中的服务信息回调函数
		 * @param serviceCodes
		 */
		public void onCheckService(List<String> serviceCodes);
	}
	
	/**
	 * 流量统计回调接口
	 * @author ld 20130221
	 *
	 */
	public interface Liuliang_tongji{
		public void liuliang_callback(String code);
	}
	
	/**
	 * 请求广告条
	 * @author ld 20130325
	 *
	 */
	public interface Ad_bar{
		/**
		 * 广告条获取资源回调接口
		 * @param mAdbarResultModel
		 */
		public void ad_bar_callback(AdbarResultModel mAdbarResultModel);
	}
	/**
	 * 点击baner广告事件监听
	 * @author ld
	 *
	 */
	public interface Click_ad_listener{
		/**
		 * 请求监听广告条点击回调函数
		 */
		public void click_ad_callback(ClickAdResultModel mClickAdResultModel);
	}
	
	/**
	 * 点击首页banner回调接口
	 * @author ld
	 *
	 */
	public interface DataCallback_09{
		public void callback(int p);
	}
}
